const verification = {
  checkEmial: (emial) => {
    var reg = /^([a-zA-Z]|[0-9])(\w|\-)+@[a-zA-Z0-9]+\.([a-zA-Z]{2,4})$/;
   if (!reg.test(emial)) return false  
   return true  
  },
  checkPassword:(password,length) =>{
    if(password.length < length) return false
    return true
  } ,
  JudgmentNull: (data) => {
    if(!data)return false
    return true
  },
  phone(data){
    var reg = /^1[3-9][0-9]{9}$/;
    if (!reg.test(data)) return false  
    return true
  }
}

export {
  verification
}

